package com.example.springMVC.dao;

import com.example.springMVC.pojo.Provider;
import java.util.List;
import java.util.Map;

public interface ProviderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Provider record);

    Provider selectByPrimaryKey(Long id);

    List<Provider> selectAll();

    int updateByPrimaryKey(Provider record);

    List<Provider> getProviderList(Map<String, Object> param);

    Provider getProviderById(long providerId);

    boolean deleteProvider(long providerId);

    boolean updateProviderById(Provider provider);

    boolean providerAdd(Provider provider);

    List<Provider> getproList();
}